<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>查询显示员工列表信息</title>
    <link rel="stylesheet" href="/plugins/bootstrap-3.3.7-dist/css/bootstrap.min.css">
</head>
<body>

<table class="table table-hover">
    <tr>
        <th>员工编号</th>
        <th>员工名称</th>
        <th>员工工资</th>
    </tr>
    <tr th:each="emp : ${empList}">
        <td th:text="${emp.id}">1001</td>
        <td th:text="${emp.ename}">张三</td>
        <td th:text="${emp.salary}">100000</td>
    </tr>
</table>
</body>
</html>